<%-- 
    Document   : participantlist
    Created on : Aug 10, 2011, 3:35:07 PM
    Author     : s4201567 Tony Yu


                        <form:select path="template">
                            <form:options items="${demoID}" />
                        </form:select>

          <c:forEach items="{model.participantlist}" var="pl">
                    <tr><td><c:out value="{hom.getPollUserID}"/></td></tr>
                </c:forEach>
--%>

<%@ include file="../header.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<body>
    <div id="content-container1">
        <div id="content">

            <h3>Participant List</h3>
            <!-- Content goes here -->            
            <form:form method="post" commandName="participantlist">
              <table bgcolor="f8f8ff" border="0" cellspacing="0" cellpadding="5">
                <tr>
                    <td>Templates:</td>
                    <td>
                    <form:select path="template">
                        <form:options items="${temp}" />
                    </form:select>
                    </td>
                </tr>
                <tr>
                    <td>Demographic:</td>  
                    <td>${demo}</td>
                </tr>
              </table>
            <input type="submit" align="center" value="Submit">
            <input type="reset" value="Reset" name="reset"/></br></br>
            </form:form>

            <form>
                <input type="button" onClick="window.location.href='customDemo.html'" value="Create New Demographic"/>
            </form>
        </div>
    </div>	
</body>
		
<%@ include file="../footer.jsp" %>
